{% extends 'host.html' %}
{% block content%}
{% block style %}
<style >
   .mynav{
     margin-bottom:0!important
   }


</style>



{% endblock%}

<header style="background:#EEEEEE; height:6rem;"> <div class="container"><h1>课程修改</h1></div></header><br>
<div class="container">

  <form class="form-horizontal" role="form"  action="/amend/{{user.id}}" method="post">
  <div class="form-group">
    <label for="firstname" class="col-sm-2 control-label">名称:</label>
    <div class="col-sm-2">
      <input type="text" class="form-control" id="firstname" value="{{user.title}}" name="name">
    </div>
  </div>
  <div class="form-group">
    <label for="lastname" class="col-sm-2 control-label">备注:</label>
    <div class="col-sm-6">
      <textarea type="text" class="form-control" id="lastname" placeholder="请输入备注"  name="intro">{{user.abstract}}</textarea>
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button  class="btn btn-primary bth-lg"  >提交修改</button>
    </div>
  </div>
</form>

</div>



<!-- <button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">开始演示模态框</button> -->
<!-- <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel">是否确认修改</h4>
            </div>
            <div class="modal-body"></div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary  revise">确认修改</button>
            </div>
        </div>
    </div>
</div> -->

{% endblock%}


<!-- {% block script %}

<script type="text/javascript" src='/static/revise.js'></script>
{% endblock %} -->


